# TurboWiki is a simple wiki module for TurboGears
#
# Copyright (C) 2009 Alberto Granzotto <agranzot@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

from controllers import WikiController
from utils import wiki_parser, wiki_validator
import templates
import model
import widgets
import os.path
import pkg_resources
from turbogears.widgets import register_static_directory

#pkg_path = pkg_resources.resource_filename(__name__,
#    os.path.join("static", "javascript"))
#register_static_directory("turbowiki.static.javascript", pkg_path)
pkg_path = pkg_resources.resource_filename(__name__,
    os.path.join("static", "css"))
register_static_directory("turbowiki.static.css", pkg_path)
#pkg_path = pkg_resources.resource_filename(__name__,
#    os.path.join("static", "images"))
#register_static_directory("turbowiki.static.images", pkg_path)

__version__ = 0.1
